<div class="modal-header">
    {{multiLan?('意向占用'|translate):'意向占用'}} <i class="yb-icon ico-close" ng-click="cancel()"></i>
</div>
<div class="modal-body tb-wrap">
    <div class="pos-r">
        <div yb-table-fixed class="table-fixed-wrap">
            <div>
                <table class="table border-none" width="{{editTbConf.scrollWidth}}">
                    <thead>
                    <tr>
                        <th width="19%">{{multiLan?('业务单号'|translate):'业务单号'}}</th>
                        <th width="9%">{{multiLan?('单据类型'|translate):'单据类型'}}</th>
                        <th width="10%">{{multiLan?('客户名称'|translate):'客户名称'}}</th>
                        <th width="12%">{{multiLan?('创建时间'|translate):'创建时间'}}</th>
                        <th width="11%">{{multiLan?('零件编号'|translate):'零件编号'}}</th>
                        <th width="15%">{{multiLan?('零件中文名'|translate):'零件中文名'}}</th>
                        <th width="8%">{{multiLan?('计划数量'|translate):'计划数量'}}</th>
                        <th width="8%">{{multiLan?('发货数量'|translate):'发货数量'}}</th>
                        <th width="8%">{{multiLan?('占用数量'|translate):'占用数量'}}</th>
                    </tr>
                    </thead>
                </table>
            </div>
            <div class="td-scroll" ng-show="dataList.length > 0" ng-style="{'top': isEN ? '68px' :'36px'}">
                <table class="table border-none">
                    <tbody>
                    <tr ng-repeat="item in dataList track by $index">
                        <td width="19%" class="spill-dots" title="{{multiLan?(item.billNo|translate):item.billNo}}">

                            <a class="btn-operate m-r-xs" ng-click="tdClick(item)">
                            {{multiLan?(item.billNo|translate):item.billNo}}
                            </a>
                          

                        </td>
                        <td width="9%" class="spill-dots" title="{{multiLan?(item.billType|orderType:item.billType|translate):(item.billType|orderType:item.billType)}}">{{multiLan?(item.billType|orderType:item.billType|translate):(item.billType|orderType:item.billType)}}</td>
                        <td width="10%" class="spill-dots" title="{{multiLan?(item.dealerName|translate):item.dealerName}}">{{multiLan?(item.dealerName|translate):item.dealerName}}</td>
                        <td width="12%" class="spill-dots" title="{{multiLan?(item.createDate|YbDate:'yyyy-MM-dd HH:mm:ss'|translate):(item.createDate|YbDate:'yyyy-MM-dd HH:mm:ss')}}">{{multiLan?(item.createDate|YbDate:'yyyy-MM-dd HH:mm:ss'|translate):(item.createDate|YbDate:'yyyy-MM-dd HH:mm:ss')}}</td>
                        <td width="11%" class="spill-dots" title="{{multiLan?(item.materialsNo|translate):item.materialsNo}}">{{multiLan?(item.materialsNo|translate):item.materialsNo}}</td>
                        <td width="15%" class="spill-dots" title="{{multiLan?(item.materialsDes|translate):item.materialsDes}}">{{multiLan?(item.materialsDes|translate):item.materialsDes}}</td>
                        <td width="8%" class="spill-dots" title="{{multiLan?(item.qty|translate):item.qty}}">{{multiLan?(item.qty|translate):item.qty}}</td>
                        <td width="8%" class="spill-dots" title="{{multiLan?(item.informQty|translate):item.informQty}}">{{multiLan?(item.informQty|translate):item.informQty}}</td>
                        <td width="6%" class="spill-dots" title="{{multiLan?(item.intentionQty|translate):item.intentionQty}}">{{multiLan?(item.intentionQty|translate):item.intentionQty}}</td>
                    </tr>
                    </tbody>
                </table>
            </div>
            <div class="no-data w-full text-center p-t" ng-style="{'top': isEN ? '68px' :'36px'}" ng-show="dataList.length === 0">{{multiLan?('暂时没有数据'|translate):'暂时没有数据'}}</div>
        </div>
    </div>
</div>
<div class="modal-footer">
    <div yb-page-info ng-model="pageInfo" yb-refresh="search()"></div>
</div>